package com.itbegin.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class HelloAction {
	@RequestMapping(value="/app/hello",method=RequestMethod.GET)
	public String hello(Model model){
		model.addAttribute("message","hello 你好");
		return "hello";
	}
	
}